﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Options.IBClient.Component
{
    [Serializable()]
    public class ResponseIBClient
    {
        #region Private Variables
        private int responseId;
        private int requestId;
        private string tickType;
        private decimal tickPrice;
        private double delta;
        private double gamma;
        private double vega;
        private double theta;
        #endregion

        #region Constructor
        public ResponseIBClient()
        {

            responseId = 0;
            requestId = 0;
            tickType = string.Empty;
            tickPrice = 0;
            delta = 0;
            gamma = 0;
            vega = 0;
            theta = 0;
        }
        #endregion

        #region Properties
        public int ResponseId
        {
            get { return responseId; }
            set { responseId = value; }
        }

        public int RequestId
        {
            get { return requestId; }
            set { requestId = value; }
        }

        public string TickType
        {
            get { return tickType; }
            set { tickType = value; }
        }

        public decimal TickPrice
        {
            get { return tickPrice; }
            set { tickPrice = value; }
        }

        public double Delta
        {
            get { return delta; }
            set { delta = value; }
        }

        public double Gamma
        {
            get { return gamma; }
            set { gamma = value; }
        }

        public double Vega
        {
            get { return vega; }
            set { vega = value; }
        }

        public double Theta
        {
            get { return theta; }
            set { theta = value; }
        }
        #endregion
    }
}
